Complete Answers to Queries with Binding Restrictions ( Extended

نویسنده

  • Chen Li
چکیده

We consider the problem of computing the complete answer to a query when there is limited access to relations, i.e., when binding patterns require values to be speciied for certain attributes in order to retrieve data from a relation. This problem is common in information-integration systems, where heterogeneous sources have diverse and limited query capabilities. A query is stable if for any instance of the relations mentioned in the query, the complete answer to the query can be computed, using only the binding patterns permitted for queries at the various sources. We rst study conjunctive queries, and we show that a conjunctive query is stable if and only if its minimal equivalent query Q m has an order of all the subgoals in Q m , such that each subgoal in the order can be queried with a legal binding pattern. We propose two algorithms for testing stability of conjunctive queries, and we prove this problem is NP-hard. For a nonstable conjunctive query, whether its complete answer can be computed is data dependent. We develop a decision tree that guides the query planning process to compute the complete answer to a conjunctive query, if it can be computed at all. We also study stability of unions of conjunctive queries, and conjunctive queries with arithmetic comparisons. In both cases we propose algorithms for testing stability of queries. Finally, we study Datalog queries, and prove that if a set of rules and a query goal have a feasible rule/goal graph, then the query is stable.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ارائه روشی پویا جهت پاسخ به پرس‌وجوهای پیوسته تجمّعی اقتضایی

Data Streams are infinite, fast, time-stamp data elements which are received explosively. Generally, these elements need to be processed in an online, real-time way. So, algorithms to process data streams and answer queries on these streams are mostly one-pass. The execution of such algorithms has some challenges such as memory limitation, scheduling, and accuracy of answers. They will be more ...

متن کامل

Computing Complete Answers to Queries with Binding Restrictions

We consider the problem of computing the complete answer to a query when there is limited access to relations, i.e., when binding patterns require values to be specified for certain attributes in order to retrieve data from a relation. This problem is common in information-integration systems, where heterogeneous sources have diverse and limited query capabilities. A query is stable if for any ...

متن کامل

Complete Answers to Queries in the Presence of LimitedAccess Patterns ( Extended

We consider the problem of computing the complete answer to a query when there is limited access to relations, i.e., when binding patterns require values to be speciied for certain attributes in order to retrieve data from a relation. This problem is common in information-integration systems , where heterogeneous sources have diverse and limited query capabilities. A query is stable if for any ...

متن کامل

The Logical Difference for the Lightweight Description Logic EL

We study a logic-based approach to versioning of ontologies. Under this view, ontologies provide answers to queries about some vocabulary of interest. The difference between two versions of an ontology is given by the set of queries that receive different answers. We investigate this approach for terminologies given in the description logic EL extended with role inclusions and domain and range ...

متن کامل

Recursive Query Plans for Data Integration

Generating query-answering plans for data integration systems requires to translate a user query, formulated in terms of a mediated schema, to a query that uses relations that are actually stored in data sources. Previous solutions to the translation problem produced sets of conjunctive plans, and were therefore limited in their ability to handle recursive queries and to exploit data sources wi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999